class Book < ActiveRecord::Base
  has_many :borrow_recs

  validates_presence_of :barcode, :title, :ISBN, :description
  validates_uniqueness_of :barcode, :ISBN
end
